add register and login functions
Merge branch 'dev' of http://github.com/openrpi/web into dev

Conflicts:
	db.sqlite3