Added relationship between posts/users and added login/logout/register/profile links