Working login system

Added a totally working login system