added urls for login, logout, and login processing
added login template
added login function and processing function