fixed login & register bugs, we can now login again yeay