Added Log-in Functionality

Please review and accept my code...