Frontend view and sign out issue fixed