added user authentication. Hidden input field on registration form should assign new users the role of author. Stupid redirect is happening when trying to get to registration form