Started js + serverside imeplementation of registration, fetching users from db is not working properly..