Finished login and moved views into their own file.