FIX: Private message link on messages view did not work. Removed a lot of duplication.