added user controller tests and modified user new form
added factory_girl
added in the login sidebar and fixed register routing