login system is now working, need to work on sessions