Implemented text based login