Added register checks so there won't be duplicate users, added response 400 for bad login/register