implement register logic
add styles