I want to develop one app to connect to servicedesk, user will use their username and password to login, how can I verify whether the username and password have allowed access.