Recoded login system, work still need's to be done.