changed redirect to full uri in sessions controller