Fixed a couple little things with logging in