First steps for user-interface
Fixed login functionality for API usage