final login implementations

Final login implementations using ejb and a button was added to the
register action