Check in login with JSON POST