login working

almost finished insertion too
//TODO deletion