Added urls and started to write logic for logging in/checking authentication.
TODO: add login redirect