Create Login1.java

Version 2 is similiar to version one, however it is not connected to register but the code is more efficient.