made some changes
added login