added devise for clients

Please accept this pull request