added devise auth system