imporved login syscall, and added scanf functions to library