changed flash content display
added auth token and sign in out functionality