added (very) basic login functionality