updates

fixed login problem, added callbacks , made a table sortable and added
action mailer