Finish the sign in for workers and employers. Also factored some of the view code