Replaced retfun in ssl_login so that it properly redirect to dashboard