Core pr 4

Minor javascript fixes to update the page after login. 
Issue created: http://platform.dandigbib.org/issues/445.