Altered the UserDetailsController

Started the messages functionality logic. Also, made the user-details
page truly private.