[Issue 11] Refactor example login view controller