updates to user, session, links controllers, views, handling links creation and redirect