// Returns false if the password does not match or if the user is not there func checkUserPass(user string, pass string, client *redis.Client) bool { if client.Exists("user:"******"user:"******"password").Val()[0].(string)) } return false }