devise user login and authentication implemented