Save feature to database

Checking the user is logged in and saving the new marker in the database