Authorizes login from jdbc tables