Fixed bug with "post login action"