Added pre/post login events for remember
Merge branch 'develop'