fixed delete
logging statement added for login.