added views for logging in posting registering searching for posts and getting posts of an author