Add a Main.java for authentication