added user authentication and Pins/users asscisations