[#63] refactored SessionsController using redirect back or default method