login registration added, need to add check and emailing functions.