Java-based Commit #2

Fixed register/login bugs of administrator due to invalid directory
rooting