e-mail login + doc update