[#74702756 #74702710 #74702948] ユーザー認証関係の実装

https://www.pivotaltracker.com/story/show/74702756
https://www.pivotaltracker.com/story/show/74702710
https://www.pivotaltracker.com/story/show/74702948