Feature/register

Added register method