Fixed bug in user login with empty body request