view posts and auth