Allow server to save to where the .jar file is located
Fixed how the register function saves users so it will have a new empty
line at the end of the file