Authentication on server

Signed-off-by: Markus Jura <markus.jura@googlemail.com>