Adding tests for User logged in and logged out scenarios.