Core pr 5

Fixed some user redirects and coding style.
Ticket created at: http://platform.dandigbib.org/issues/650