Added the ability to view the profile of other users.
Cleaned up and commented some more of the code.