#2 fix login so it now works
#5 remove fixed warnings