added functions for getting user and handling login success handler
Merge pull request #1 from Aplopio/signal_to_configurable_function

added functions for getting user and handling login success handler