assert after log in