SignIn feature and MainPage.rb