Login and Register Activities

pull request for branch rick (login and register)