db modified for permissions, login table added
insert and get for login table added