Added tests for redirect after login and adjusting layout