Added Login Logic (Some Of it)