Created basic method and functions.

Missing: processing of the login response and log the user in...
Working login and attribute management