add login function, adding missing field at creation; todo : thinking on uploading picture and email validator