/check/login for jQuery to check if a login is valid