Additional bug fixes, logging in from the root path now doesn't crash the program