moved refresh login into controller

Signed-off-by: vito <bovitobo@yahoo.com>