added register/login system using devise