Implement login
Implement logout
Add post API
Add index view
Add post dialog