added sign in controller and link from main page