added devise, customized the view pages