create constructor for the main class
Created basic view for login and edited the entry point in the main class