logging in works properly

now working on HTTP POST requests