Update Login.java

Error in getting the DeviceName