Added start page and logged user is redirected to /my page. Code cleanup.