users can login, create posts and view posts