fixed flash message to only show when it exists
added devise test helpers
added user login spec and helper method for signing in