added back-end and devise