READER AUTHOR FUNCTIONALITY 

the form checkbox should be checked if author and unchecked if reader
if checked (user==author) and user is added to author table
then at login, if the user id is found in the author table, the user (an author) will be redirected  to profile upon login
otherwise it redirects the user (a reader) to the search page