fix for post login