added base handler for login support