Edit profile works/Fixed failed login

Implemented edit profile. it works, but only if all form information is
entered. At this point, I think its the best we're going to get. still
adds more to the project. I also fixed login, so if it fails it no
longer brings you to a page that just says fails. It now just redirects
to the homepage without logging in.