Updated with functionality for User to sign out with redirect to homepage