added users and sign in functionality