added login and register links to homepage, tells user account isnt approved when unapproved users try to login