added routing upon login