implemented register & login

Signed-off-by: Christian Lüthold <biocodr@gmail.com>