Added main method
Added login